package com.young.springdemo.service.strategy.solve;

import com.young.springdemo.service.strategy.InspectorSolver;
import org.springframework.stereotype.Component;

@Component
public class ChangeWarehouseSolver extends InspectorSolver {
    @Override
    public void solve(Long orderId,Long userId) {
        System.out.println("订单"+orderId+"开始进行批量转仓了。。");
    }

    @Override
    public String[] supports() {
        return new String[]{"GET_ORDER","CHANGE_WARE_HOUSE"};
    }
}
